/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package Interface;

import EntityClass.Appointment;
import EntityClass.Bed;
import EntityClass.Patient;
import EntityClass.mCase;
import Exception.ExistException;
import java.text.ParseException;
import java.util.List;
import javax.ejb.Remote;

/**
 *
 * @author Swarit
 */
@Remote
public interface AdministrativeAdmissionRemote {

    public String addPatient(String NRIC_PIN, String name, String birthday, String address, String cNumber) throws ExistException, ParseException, Exception;

    public long makeAppointment(String NRIC_PIN, String appDate, String place, String docId) throws ExistException, ParseException;
    
    public long createCase(String bedNo, String appId) throws ExistException;

    public List<Bed> getAvailBeds();

    public mCase getmCase(String CIN);

    public List<mCase> getmCases();

    public List<mCase> getPatientCases(String NRIC_PIN);

    public Patient getPatientInfo(String NRIC_PIN);

    public List<Appointment> getPatientAppointments(String NRIC_PIN);
}
